package com.cqust.wdm.emsboot.domain;

import com.cqust.wdm.emsboot.util.BaseEntity;
import com.cqust.wdm.emsboot.util.annotation.Excel;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 退货单对象 ems_retake
 *
 * @author author__
 
 */
@Setter
@Getter
public class Retake extends BaseEntity {
    private static final long serialVersionUID = 1L;


    private Long id;

    /**
     * 订单id
     */
    @Excel(name = "订单id")
    private Long oid;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String des;
    /*
    * 审核状态 0:已提交 1:已审核 2:已拒绝
    * */
    private long auditFlag;



    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id" , getId())
                .append("oid" , getOid())
                .append("des" , getDes())
                .toString();
    }
}
